package com.shurdroides.proyectofinal.activities;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.AnimationUtils;
import android.widget.ViewFlipper;

import com.shurdroides.proyectofinal.R;

public class Manual extends Activity {
	ViewFlipper vf;

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.manual);

		vf = (ViewFlipper) findViewById(R.id.viewFlipper1);
		vf.setInAnimation(AnimationUtils.loadAnimation(this,
				android.R.anim.fade_in));
		vf.setOutAnimation(AnimationUtils.loadAnimation(this,
				android.R.anim.fade_out));
		
		vf.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				vf.showNext();
			}
		});
	}

}
